import React from 'react'
import { useSelectorAuth } from '@/store/slice/auth'

// 首页显示个人信息
function Home() {
    const auth = useSelectorAuth()
    return (
        <div>
            <h3>账号：{auth.userInfo.name}</h3>
            <img src={auth.userInfo.avatar} alt="" />
        </div>
    )
}

export default Home
